package event;

import model.Packet;

/**
 * Evento que representa a chegada de um pacote no roteador.
 */
public class PacketArrivedAtRouterEvent extends Event {

	private Packet pack;
	
	public PacketArrivedAtRouterEvent(double time, Packet pack) {
		super(time);
		this.pack = pack;
	}
	
	public Packet getPack() {
		return pack;
	}

}
